home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / edt.arc / EDT.HLP < prev   
Encoding:
Text File  |  1985-05-25  |  6.3 KB  |  166 lines

  1.  
  2.  
  3. The commands available to you are:
  4.  
  5.  
  6. [H] Quick Help
  7.      Tells you each command and the keypress required to activate it.
  8.  
  9. [?] Help
  10.  
  11.     Displays this text.  File EDT.HLP must be on default disk drive.
  12.  
  13. [C] Change current line number
  14.  
  15.     Changes the current line number to any number specified by the
  16.     user.  The current line number is used by the List, Browse, and
  17.     Insert commands to determine what line number to perform the command
  18.     on.  The current value for the current line number is shown above
  19.     the * prompt along with the line itself.
  20.  
  21. [L] List next 16 lines
  22.  
  23.     Displays the next 16 lines from the current line counter on.  The
  24.     line counter is not affected by this command.
  25.  
  26. [B] Browse next 16 lines
  27.  
  28.     Performs the same as the List command (see above) except that the
  29.     current line counter is set equal to the last line displayed in the
  30.     command (the line counter will be incremented by 16 by this command).
  31.     The Browse command is a quick way to see a section of your text.  For
  32.     instance, to see the next 32 lines of your program, type the B command
  33.     twice.  If you tried this with the List command, it would display the same
  34.     16 lines of the program over twice because the current line counter is not
  35.     incremented.
  36.  
  37. [I] Insert text after current line
  38.  
  39.     This function will allow the user to insert text below the current line.
  40.     all the text (if there is any) below the current line is moved down prior
  41.     to insertion.  EDT will continue to allow you to insert lines until the
  42.     signal "/ex" is typed on a blank line, or the text buffer of 400 lines is
  43.     full.
  44.  
  45. [D] Delete a range of lines
  46.  
  47.     This function will (you guessed it!) delete a series of lines.  The current
  48.     line counter has no bearing on the operation of this command.  When D is
  49.     depressed, EDT will prompt "Delete line " and wait for the user to type in
  50.     the first line to delete.  EDT will then continue "Delete line __ through
  51.     line ", and will again wait for user input.  The delete operation will not
  52.     occur until the user confirms that this is what he wishes to do.
  53.  
  54.  
  55.  
  56. [F] Find ┬─[R] and Replace──────┬─[F] First occurance
  57.          ├─[F] First occurance  ├─[N] Next occurance
  58.          └─[N] Next occurance   └─[A] All occurances
  59.  
  60. This command, as shown by the diagram above, will allow the user to find
  61. the first or next occurance of a selected string, or optionally, replace the
  62. first, next, or all occurances of a string by another string (the program will
  63. insert or delete characters depending upon the length of the search string).
  64. A find pointer is used to keep track of the last Find/Replace done; it is shown
  65. when the Find command is invoked.
  66.  
  67. ╔════════╗
  68. ║EXAMPLE:║
  69. ╚════════╝
  70.  
  71. 1. To search for and replace the first occurance of a string type:
  72. [F][R][F]
  73.    ─────
  74. 2. To perform the same operation on the next occurance of the string type:
  75. [F][R][N]
  76. IMPORTANT: EDT will not ask for the Search/Replace strings again when
  77.            the [N] (Next) option is invoked for either Find and Replace
  78.            or Find.
  79.  
  80. Save your text before trying out the Find command for the first time.
  81.  
  82. [S] Save text to output file
  83.  
  84.     This function will save the text buffer to the output file as input
  85.     by the user on the first screen.  After the save operation is complete,
  86.     the program will return to the * prompt.  To change the name of the
  87.     output file, see the Name command below.
  88.  
  89. [Q] Quit EDiTor
  90.  
  91.     This command will allow the user to quit EDT without saving his text.
  92.     EDT will confirm this action before surrendering control to DOS.
  93.  
  94. [E] Exit EDiTor
  95.  
  96.     This command will save the user's text to the output file, and then confirm
  97.     that the user wishes to exit EDT before exiting to DOS.
  98.  
  99. [C] Compact text file
  100.  
  101.     This option will compact the user's text file, removing any blank lines
  102.     that might be present.  The program will confirm this before performing
  103.     this option.  The use of this command is to save space when nearing (or
  104.     over) the 400 line limit on text files that can be edited using EDT.
  105.  
  106. [P] Print text file
  107.  
  108.     This command will print the file in the buffer to the parallel printer.
  109.     EDT will ask whether or not the line numbers should be printed next to
  110.     each line.  Be sure to turn on and load paper into your printer before
  111.     issuing this command.
  112.  
  113. [N] Name output file
  114.  
  115.     This command will allow the user to rename the output file name that EDT
  116.     will use when the Save or Exit commands are invoked.
  117.  
  118.                            *  *  *  *  *  *  *
  119.  
  120. How EDT was written.
  121.  
  122. EDT Release 1.0 was written using the TURBO Pascal Compiler from Borland
  123. International.  The program was written using straight Pascal; no machine
  124. language code was used (or needed).
  125.  
  126. Please contribute.
  127.  
  128. This program is distributed under the FREEWARE(tm) concept started by
  129. The Headlands Press with the PC-TALK communications software.  I wrote
  130. this program to test out the TURBO Pascal Compiler- and it really is the best
  131. thing since peanut butter.  If you want the source code to this program, ready
  132. to load in to TURBO's editor to see how it's done, send a check or cash for
  133. $10 to:
  134.  
  135.              Andrew Brenner
  136.              504 Glen Court
  137.              Oceanside, New York 11572
  138.  
  139. If you find this program useful, your contribution is appreciated ($10 sugg.).
  140. Remember, if you want the source code, send $10 and a blank DSDD diskette
  141. (you don't have to format it...) to the above address.  Include a letter
  142. stating that you will not distribute the source code in modified form.
  143.  
  144.  
  145. What's next?
  146.  
  147. If I get around to it, here's what I might add in the future:
  148.  
  149. · A visually-oriented screen editor option (that is, you move the cursor
  150.   around the screen, like a real word processor).
  151.  
  152. · A virtual diskette routine (well, sort of...) that will allow text files
  153.   of unlimited size in memory.  It will see if a line needed is in memory,
  154.   and if it isn't, it will get it from disk.
  155.  
  156. · If you can think of anything you would like added, let me know.
  157.  
  158.  Registered users who have sent in a contribution will be notified of
  159.  new releases of EDT.
  160.  
  161. This is the end of EDT help.
  162.  
  163.  
  164. 
  165.  
  166. rs who have sent in a contribution will be